/**  \file Splash.qml
\brief Splash screen definition

Price My House for Nokia mobile platforms.

\author © 2011 Enrico Miglino / Tech Consulting (enrico.miglino@ovi.com)
\author "Evimin Fiyati Price My House" is protected by the copyright law
\author Distributed under the LGPL 3.0 license.
\date 2011

\par Licensing notes

    "Price My House" is free software: you can redistribute it
    and/or modify it under the terms of the Lesser GNU General Public License
    as published by the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    "Price My House" is distributed in the hope that it
    will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Lesser GNU General Public License for more details.

    You should have received a copy of the Lesser GNU General Public License
    along with "Price My House".
    If not, see <http://www.gnu.org/licenses/>.

*/

import QtQuick 1.0

Item {
    id: container   // Splash image container

    // Main background rectangle.
    Rectangle {
        id: black_back
        color: "black"
        width: parent.width
        height: parent.height
    }

    // splashscreen components.
    Image {
        id: logo
        fillMode: Image.PreserveAspectFit
        width: black_back * 0.25
        source: "EFLogo-mirrored.png"
        anchors.horizontalCenter: black_back.horizontalCenter
        anchors.top: parent.top
        scale: 0.9
    }

    Image {
        id: text
        fillMode: Image.PreserveAspectFit
        source: "EFText-mirrored.png"
        anchors.horizontalCenter: black_back.horizontalCenter
        scale: 0.9
        anchors.top: logo.bottom
    }

    Image {
        id: ovi
        source: "OVILogo.png"
        anchors.bottom: black_back.bottom
        scale: 0.8
        anchors.right: black_back.right
    }
}
